package com.yuwei.user.api

import com.yuwei.common.BaseApiService
import com.yuwei.common.entity.Res
import com.yuwei.user.entity.UserEntity
import retrofit2.http.POST
import retrofit2.http.Query
import kotlinx.coroutines.flow.Flow

interface UserApiService :BaseApiService{
    @POST("/user/login")
    fun getUserLogin(@Query("password")password:String,@Query("username")username:String):Flow<Res<UserEntity>>
}